package com.example.gulimallmember.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 会员收货地址
 * 
 * @author zzl
 * @email zzl@gmail.com
 * @date 2025-10-27 08:51:23
 */

@TableName("ums_member_receive_address")
public class MemberReceiveAddressEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * member_id
	 */
	private Long memberId;
	/**
	 * 收货人姓名
	 */
	private String name;
	/**
	 * 电话
	 */
	private String phone;
	/**
	 * 邮政编码
	 */
	private String postCode;
	/**
	 * 省份/直辖市
	 */
	private String province;
	/**
	 * 城市
	 */
	private String city;
	/**
	 * 区
	 */
	private String region;
	/**
	 * 详细地址(街道)
	 */
	private String detailAddress;
	/**
	 * 省市区代码
	 */
	private String areacode;
	/**
	 * 是否默认
	 */
	private Integer defaultStatus;

	public MemberReceiveAddressEntity(Long id, Long memberId, String name, String phone, String postCode, String province, String city, String region, String detailAddress, String areacode, Integer defaultStatus) {
		this.id = id;
		this.memberId = memberId;
		this.name = name;
		this.phone = phone;
		this.postCode = postCode;
		this.province = province;
		this.city = city;
		this.region = region;
		this.detailAddress = detailAddress;
		this.areacode = areacode;
		this.defaultStatus = defaultStatus;
	}

	public MemberReceiveAddressEntity() {
	}



	/**
	 * 获取
	 * @return id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取
	 * @return memberId
	 */
	public Long getMemberId() {
		return memberId;
	}

	/**
	 * 设置
	 * @param memberId
	 */
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取
	 * @return phone
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * 设置
	 * @param phone
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

	/**
	 * 获取
	 * @return postCode
	 */
	public String getPostCode() {
		return postCode;
	}

	/**
	 * 设置
	 * @param postCode
	 */
	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}

	/**
	 * 获取
	 * @return province
	 */
	public String getProvince() {
		return province;
	}

	/**
	 * 设置
	 * @param province
	 */
	public void setProvince(String province) {
		this.province = province;
	}

	/**
	 * 获取
	 * @return city
	 */
	public String getCity() {
		return city;
	}

	/**
	 * 设置
	 * @param city
	 */
	public void setCity(String city) {
		this.city = city;
	}

	/**
	 * 获取
	 * @return region
	 */
	public String getRegion() {
		return region;
	}

	/**
	 * 设置
	 * @param region
	 */
	public void setRegion(String region) {
		this.region = region;
	}

	/**
	 * 获取
	 * @return detailAddress
	 */
	public String getDetailAddress() {
		return detailAddress;
	}

	/**
	 * 设置
	 * @param detailAddress
	 */
	public void setDetailAddress(String detailAddress) {
		this.detailAddress = detailAddress;
	}

	/**
	 * 获取
	 * @return areacode
	 */
	public String getAreacode() {
		return areacode;
	}

	/**
	 * 设置
	 * @param areacode
	 */
	public void setAreacode(String areacode) {
		this.areacode = areacode;
	}

	/**
	 * 获取
	 * @return defaultStatus
	 */
	public Integer getDefaultStatus() {
		return defaultStatus;
	}

	/**
	 * 设置
	 * @param defaultStatus
	 */
	public void setDefaultStatus(Integer defaultStatus) {
		this.defaultStatus = defaultStatus;
	}

	public String toString() {
		return "MemberReceiveAddressEntity{serialVersionUID = " + serialVersionUID + ", id = " + id + ", memberId = " + memberId + ", name = " + name + ", phone = " + phone + ", postCode = " + postCode + ", province = " + province + ", city = " + city + ", region = " + region + ", detailAddress = " + detailAddress + ", areacode = " + areacode + ", defaultStatus = " + defaultStatus + "}";
	}
}
